/* 订单详情页面整体样式 */
.or_d_order-detail-page {
  font-family: 'PingFang SC', system-ui, sans-serif;
  background-color: #F5F0EB;
  color: #8D6E63;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 55px;
overflow-y: auto;
}

/* 顶部导航栏 */
.or_d_detail-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #E8DCD2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.or_d_header-title {
  font-size: 18px;
  font-weight: 600;
  color: #8D6E63;
  margin: 0;
}

/* 订单状态卡片 */
.or_d_status-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(141, 110, 99, 0.08);
  padding: 16px 20px;
  margin: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.or_d_order-no-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #A1887F;
}

/* 服务信息卡片 */
.or_d_service-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(141, 110, 99, 0.1);
  margin: 0 12px 12px;
}

.or_d_service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #F5F0EB;
}

.or_d_service-title {
  font-size: 18px;
  font-weight: 600;
  color: #8D6E63;
  margin: 0;
}

.or_d_clinic-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #A1887F;
}

.or_d_rating-star {
  font-size: 16px;
}

.or_d_service-content {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.or_d_service-img-container {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(141, 110, 99, 0.15);
}

.or_d_service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.or_d_service-img:hover {
  transform: scale(1.05);
}

.or_d_service-desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.or_d_service-desc-text {
  font-size: 14px;
  color: #A1887F;
  line-height: 1.6;
  margin: 0;
}

.or_d_service-meta {
  display: flex;
  gap: 15px;
  margin-top: 6px;
}

.or_d_meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #A1887F;
}

.or_d_meta-icon {
  font-size: 16px;
  color: #8D6E63;
}

/* 就诊信息卡片 */
.or_d_clinic-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(141, 110, 99, 0.1);
  margin: 0 12px 12px;
}

.or_d_clinic-list {
  --border-color: #F5F0EB;
}

.or_d_list-item {
  --padding-horizontal: 20px;
  --font-size: 15px;
  color: #8D6E63;
}

.or_d_list-icon {
  font-size: 22px;
  color: #8D6E63;
}

.or_d_address-icon, .or_d_phone-icon {
  font-size: 22px;
  color: #8D6E63;
}

.or_d_clinic-name {
  font-weight: 600;
  color: #8D6E63;
}

/* 费用信息卡片 */
.or_d_price-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(141, 110, 99, 0.1);
  margin: 0 12px 12px;
  padding: 20px;
}

.or_d_price-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #F5F0EB;
}

.or_d_price-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.or_d_price-label {
  font-size: 15px;
  color: #A1887F;
}

.or_d_price-value {
  font-size: 18px;
  font-weight: 700;
  color: #8D6E63;
}

.or_d_price-strike {
  font-size: 15px;
  color: #A1887F;
  text-decoration: line-through;
  margin-left: 8px;
}

.or_d_price-discount {
  font-size: 15px;
  color: #CF1322;
}

.or_d_price-actual {
  font-size: 20px;
  font-weight: 700;
  color: #8D6E63;
}

.or_d_original-price .or_d_price-value {
  color: #A1887F;
}

.or_d_discount-price .or_d_price-discount {
  font-weight: 500;
}

.or_d_actual-price .or_d_price-actual {
  color: #8D6E63;
}

/* 支付信息卡片 */
.or_d_payment-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(141, 110, 99, 0.1);
  margin: 0 12px 20px;
}

.or_d_payment-list {
  --border-color: #F5F0EB;
}

/* 操作按钮区域 */
.or_d_action-area {
  display: flex;
  justify-content: space-between;
  padding: 0 20px 30px;
  gap: 16px;
}

.or_d_cancel-btn, .or_d_back-list-btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.or_d_cancel-btn:hover {
  background-color: #E8DCD2;
  box-shadow: 0 4px 8px rgba(141, 110, 99, 0.15);
  transform: translateY(-2px);
}

.or_d_back-list-btn:hover {
  background-color: #795548;
  box-shadow: 0 4px 8px rgba(141, 110, 99, 0.25);
  transform: translateY(-2px);
}

/* 响应式适配（小屏手机） */
@media (max-width: 375px) {
  .or_d_service-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .or_d_service-img-container {
    width: 100%;
    height: 180px;
  }

  .or_d_service-desc {
    align-items: center;
    text-align: center;
  }

  .or_d_action-area {
    flex-direction: column;
    gap: 12px;
  }

  .or_d_cancel-btn, .or_d_back-list-btn {
    width: 100%;
  }

  .or_d_status-card, .or_d_service-card, .or_d_clinic-card, .or_d_price-card, .or_d_payment-card {
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .or_d_service-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .or_d_header-title {
    font-size: 18px;
  }
}

/* 适配中屏设备 */
@media (min-width: 376px) and (max-width: 768px) {
  .or_d_service-img-container {
    width: 160px;
    height: 160px;
  }

  .or_d_action-area {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* 高亮提示样式（如待使用状态附加提示） */
.or_d_status-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #0958D9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.or_d_status-tip-icon {
  font-size: 14px;
}